<%@ page import="com.gopay.remote.solution.vo.PayChannelDtlInfo"%>
<%@ page import="com.gopay.common.constants.trans.PayChannel"%>
<%@ page import="com.gopay.cashier.domain.bean.PayChannelDtlBean"%>
<%@ page import="com.gopay.common.constants.trans.PayChannelType"%>
<%@ page import="com.gopay.cashier.domain.bean.PayChannelWayBean"%>
<%@ page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<form name="ccfbankPayForm" id="ccfbankPayForm" action="${ROOT}/pay/ccfp/reselect.shtml" method="post">
<table class="table-tml-3" style="width:750px">
    <tbody>
    <%
        PayChannelWayBean pw = (PayChannelWayBean)request.getAttribute("payWayBean");
        PayChannelDtlBean pcb = pw.getPayChannelDtl(PayChannelType.CREDIT_EXPRESS_PAY.value);
        List<PayChannelDtlInfo> ccfBanks =  pcb.getBankCodes().get(PayChannel._06.value);
        for(int i=0; pw!=null && i<ccfBanks.size(); i++){
            PayChannelDtlInfo info = ccfBanks.get(i);
            String bc = info.getOutStlmId();
            if(i!=0&&i%3==0)out.print("</tr>");
            if(i%3==0)out.print("<tr>");
            out.print("<td>\n");
            out.print("<input type='radio' id='r_c_c_f_"+i+"' name='rePayBankCode' value='"+bc+"'>\n");
            out.print("<img width='190' height='36' border='0' src='"+request.getContextPath()+"/BankIcon/"+bc+".jpeg' onclick=\"ccfastSel('r_c_c_f_"+i+"',this);\" alt='"+bc+"' style='cursor:pointer'/>\n");
            out.print("</td>\n");
        }
        out.print("</tr>");
    %>
    </tbody>
</table>
<table class="table-tml-3" style="width:750px">
    <tbody>
    <tr>
        <td align="center">
            <button class="btn-1" type="button" onclick='reselectSubmit();'>确定</button>
        </td>
    </tr>
    </tbody>
</table>
    <input type="hidden" id="bankPhoneNo" name="bankPhoneNo" value="${bankPhoneNo}">
</form>